//package com.ag.answergames.controller;
//
//
//import com.ag.answergames.service.wallet.PersonalDetailService;
//import com.ag.answergames.vo.PersonalAccountJournalVO;
//import com.ag.answergames.vo.common.Result;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
///**
// * @author: aoaowu
// * @description: 家长账户明细相关的controller
// * @date: 2023/04/17 17:06
// */
//
//@RestController
//@RequestMapping("/back/detail/adult")
//@Api(value = "detail/adult",description = "家长账户明细相关的api")
//public class AdultDetailController {
//    @Autowired
//    PersonalDetailService personalDetailService;
//
//    @PostMapping(value = "refund/balance")
//    @ApiOperation(value = "家长钱包余额的退款")
//    public Result<PersonalAccountJournalVO> refund(@RequestParam Long money, @RequestParam Integer tradeType) {
//        return null;
//    }
//
//    @PostMapping(value = "transfer/balance")
//    @ApiOperation(value = "家长钱包余额的转账")
//    public Result<PersonalAccountJournalVO> transfer(@RequestParam Long money,@RequestParam Integer tradeType) {
//        return null;
//    }
//
//    @PostMapping(value = "recharge/balance")
//    @ApiOperation(value = "家长钱包余额的充值")
//    public Result<PersonalAccountJournalVO> recharge(@RequestParam Long money,@RequestParam Integer tradeType,@RequestParam String openId) {
//        Result recharge = personalDetailService.recharge(money, tradeType, openId);
//        return null;
//    }
//
//    @PostMapping(value = "find/balance")
//    @ApiOperation(value = "家长钱包余额的明细查询")
//    public Result<List<PersonalAccountJournalVO>> find(@RequestParam Long id) {
//        return null;
//    }
//
//
//
//}
